package cn.iocoder.yudao.module.product.controller.admin.conveniencestore.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 商铺 Response VO")
@Data
public class ConvenienceStoreRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "门头", requiredMode = Schema.RequiredMode.REQUIRED)
    private String[] doorHeaderImage;

    @Schema(description = "类型")
    private String storeType;

    @Schema(description = "省市区")
    private Integer areaId;

    @Schema(description = "省市区")
    private String areaName;

    @Schema(description = "联系方式")
    private String tel;

    @Schema(description = "详细地址")
    private String addressDetail;

    @Schema(description = "营业执照")
    private String businessLicence;

    @Schema(description = "审批状态")
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer approveStatus;

    @Schema(description = "审批备注")
    private String approveRemark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer status;

    @Schema(description = "是否删除", requiredMode = Schema.RequiredMode.REQUIRED)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Boolean deleted;

}